package mil.af.amc.adpetracker.service;

import mil.af.amc.adpetracker.dao.TemplateFileDao;
import mil.af.amc.adpetracker.model.TemplateFile;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * Implementation of TemplateFile Service
 *
 * @author TSgt Ferguson
 */
@Service("templateFileService")
public class TemplateFileServiceImpl implements TemplateFileService {

    private TemplateFileDao templateFileDao;

    @Autowired
    public void setTemplateFileDao(TemplateFileDao templateFileDao) {
        this.templateFileDao = templateFileDao;
    }

    public TemplateFile getByName(String name) {

        return templateFileDao.getByName(name);
    }
}
